package com.kpbird.tabbarcontrol;

import android.app.Activity;
import android.os.Bundle;

import com.tabwidget.TabHostProvider;
import com.tabwidget.TabView;

public class SecondTab extends Activity{

	private TabHostProvider tabProvider;
	private TabView tabView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		tabProvider = new TabbarView(this);
		tabView = tabProvider.getTabHost("main");
		tabView.setCurrentView(R.layout.secondtab);
		setContentView(tabView.render(1));

	}
}
